package com.wlts.wzy.LMGoodsModule.service;

import com.wlts.wzy.expand.MyLambdaQueryWrapper;
import com.wlts.wzy.expand.MyPage;
import com.wlts.wzy.LMGoodsModule.entity.LmSelfGoods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;

/**
 * <p>
 * lm-self个人商品表 服务类
 * </p>
 *
 * @author zhiyong
 * @since 2021-01-30
 */
public interface ILmSelfGoodsService extends IService<LmSelfGoods> {

    LmSelfGoods getById(Serializable id, boolean isUseCache);

    MyPage<LmSelfGoods> page(LmSelfGoods lmSelfGoods, Integer page, Integer size, boolean isUseCache);

    MyPage<LmSelfGoods> page(LmSelfGoods lmSelfGoods, Integer page, Integer size, boolean isUseCache, String dimension);

    MyPage<LmSelfGoods> page(MyLambdaQueryWrapper<LmSelfGoods> wrapper, Integer page, Integer size, boolean isUseCache);

    MyPage<LmSelfGoods> page(MyLambdaQueryWrapper<LmSelfGoods> wrapper, Integer page, Integer size, boolean isUseCache, String dimension);

    LmSelfGoods selectOnes(MyLambdaQueryWrapper<LmSelfGoods> wrapper, boolean isUseCache);

    void delAllPageCache();

    void delDimensionPageCache(String dimension);
}
